div, li, input, p {
  box-sizing: border-box;
}

body{
  font-size: 14px;
}
.top-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 10px 40px;
  z-index: 999;
  border-bottom: 1px solid #ddd;
  .tit{
    font-size: 18px;
    font-weight: bold;
  }
}
.main-box{
  padding: 60px 40px 0 40px;
  display: flex;
  justify-content: space-between;
  .left-menu{
    width: 260px;
    flex-shrink: 0;
    padding-right: 20px;
    margin-right: 20px;
    min-height: calc(100vh - 70px);
    border-right: 1px solid #eee;
    a{
      display: flex;
      align-items: center;
      justify-content: center;
      height: 30px;
      color: #666;
      font-weight: bold;
      width: 100%;
      margin: 10px auto;
      &:first-child{
        margin-top: 0;
      }
      &.cur{
        background: #1890ff;
        color: #fff;
      }
    }
  }
  .right-layout{
    flex-grow: 1;
    .list-page{
      .top-active{
        display: flex;
        justify-content: space-between;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
        .btn{
          display: flex;
          justify-content: flex-end;
          .ant-btn{
            margin-left: 10px;
          }
        }
      }
      .top-search{
        width: 400px;
        margin-right: 20px;
      }
      .table-box{
        margin-top: 10px;
        .ant-table-thead > tr > th, .ant-table-tbody > tr > td{
          padding: 10px;
        }
        .view-pic{
          max-width: 80px;
          max-height: 30px;
        }
        .ant-btn{
          margin: 0 2px;
        }
        .ant-btn > .anticon + span, .ant-btn > span + .anticon{
          margin-left: 4px;
        }
      }
    }
  }
}
.yp-modal{
  .ipt-box-r{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    .lb{
      width: 70px;
      flex-shrink: 0;
    }
  }
  .ant-form-item{
    margin-bottom: 5px;
  }
  .file-view{
    width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .file-info{
      flex-grow: 1;
      .des-box{
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
        .info{
          display: flex;
          margin-bottom: 5px;
          .lb{
            margin-right: 10px;
            color: #666;
            font-weight: bold;
            flex-shrink: 0;
          }
        }
      }
    }
    .files-list{
      flex-shrink: 0;
      width: 65%;
      min-height: 200px;
      margin-right: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      display: flex;
      flex-wrap: wrap;
      padding: 15px 10px;
      .file{
        text-align: center;
        margin: 0 5px;
        img{
          width: 98px;
          height: 120px;
          object-fit: cover;
        }
        .name{
          line-height: 20px;
          width: 100%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          height: 20px;
        }
      }
    }
  }
  .upload-box{
    position: relative;
    width: 600px;
    margin: 0 auto;
    height: 132px;
    border: 1px dotted #ddd;
    border-radius: 8px;
    input{
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      top: 0;
      left: 0;
    }
    .tips{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px 0;
      P{
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 0;
        color: #999;
        font-weight: bold;
        span{
          color: #000;
          font-weight: normal;
          font-size: 12px;
        }
      }
    }
  }
}